﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/FoodMaster.Master"
    Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div style="width:50%;float:left;height:600px;">
        <p>
            OrderId <span style="font-family: @Batang; font-size: medium;">
                <%= Html.Encode(ViewBag.OrderId)%></span></p>
        <p style="font-family: @Batang; font-size: medium;">
            Order Details</p>
        <table>
            <tr>
                <td>
                    <span>ItemName Quantity ItemPrice</span>
                </td>
            </tr>
            <% foreach (var cartItem in ViewBag.shopingCart)
               { %>
            <tr>
                <td>
                    <%= Html.Encode(cartItem.ItemName) %><span> </span>
                    <%= Html.Encode(cartItem.Quantity)%>
                    <span></span>
                    <%= Html.Encode(cartItem.ItemPrice.ToString("#,##0.00#"))%>
                </td>
            </tr>
            <% } %>
            <tr>
                <td align="right">
                    <span>Total Price </span>
                    <%= Html.Encode(ViewBag.Price.ToString("#,##0.00#"))%>
                </td>
            </tr>
        </table>
        <p>
            Thank You for placing an order with us. Enjoy your meal.</p>
    </div>
     <div style="float:left;height:600px;">
       <marquee behavior="scroll" direction="down" height="300">
                 <img src="../../Content/Images/FoodItemNo1.jpg"  />
                 <img src="../../Content/Images/FoodItemNo2.jpg"   />
                <%-- <img src="../../Content/Images/FoodItemNo3.jpg"   />
                 <img src="../../Content/Images/FoodItemNo4.jpg"  />
                 <img src="../../Content/Images/FoodItemNo5.jpg"  />--%>
       </marquee>
     </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
